package com.assembly.system.req;

import com.assembly.entities.SystemUser;
import com.assembly.util.base.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Accessors(chain = true)
@ApiModel(value = "UserREQ对象", description = "用户查询条件")
@Data
public class UserREQ extends BaseRequest<SystemUser> {

    @ApiModelProperty(value = "姓名")
    private String username;

    @ApiModelProperty(value = "性别(1男、2女、3未知)")
    private Integer sex;

    @ApiModelProperty(value = "身份证号")
    private String identity;

    @ApiModelProperty(value = "省(所在地）")
    private String province;

    @ApiModelProperty(value = "市(所在地）")
    private String city;

    @ApiModelProperty(value = "区(所在地）")
    private String area;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "1、平台用户 2、B端用户、C端用户")
    private Integer type;

    @ApiModelProperty(value = "帐户是否过期(1 未过期，0已过期)")
    private Integer isAccountNonExpired;

    @ApiModelProperty(value = "帐户是否被锁定(1未锁定，0已锁定)")
    private Integer isAccountNonLocked;

    @ApiModelProperty(value = "密码是否过期(1 未过期，0已过期)")
    private Integer isCredentialsNonExpired;

    @ApiModelProperty(value = "帐户是否可用(1 可用，0 删除用户)")
    private Integer isEnabled;
}
